/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

package queenb.net.entitybean;

/**
 * @author   :linhlv
 * @package  :queenb.net.entitybean
 * @file     :Q100.java
 * @created  :Jul 1, 2010
 * $updated  :
 * @purpose  : 
 *
 */
import java.sql.Date;
import oracle.jdbc.OracleTypes;
import queenb.net.annotation.Mapping;
import queenb.net.datacontrol.DataControl;

public class Q175 extends DataControl<Q175> implements java.io.Serializable{
    @Mapping(name = "fn100", typeMapping = OracleTypes.INTEGER)
    public int fn100;
    @Mapping(name = "fq350", typeMapping = OracleTypes.INTEGER)
    private int fq350;
    @Mapping(name = "fq400", typeMapping = OracleTypes.INTEGER)
    private int fq400;
    @Mapping(name = "qn176", typeMapping = OracleTypes.INTEGER)
    private int qn176;
    @Mapping(name = "qv177", typeMapping = OracleTypes.CHAR)
    private String qv177;
    @Mapping(name = "qv178", typeMapping = OracleTypes.CHAR)
    private String qv178;
    @Mapping(name = "qv179", typeMapping = OracleTypes.CHAR)
    private String qv179;
    private boolean allow;
    

    public int getFn100() {
        return fn100;
    }

    public void setFn100(int fn100) {
        this.fn100 = fn100;
    }

    /**
     * @return the fq300
     */
    public int getFq350() {
        return fq350;
    }

    /**
     * @param fq300 the fq300 to set
     */
    public void setFq350(int fq350) {
        this.fq350 = fq350;
    }

    /**
     * @return the fq400
     */
    public int getFq400() {
        return fq400;
    }

    /**
     * @param fq400 the fq400 to set
     */
    public void setFq400(int fq400) {
        this.fq400 = fq400;
    }

    /**
     * @return the qn176
     */
    public int getQn176() {
        return qn176;
    }

    /**
     * @param qn176 the qn176 to set
     */
    public void setQn176(int qn176) {
        this.qn176 = qn176;
    }

    /**
     * @return the qv177
     */
    public String getQv177() {
        return qv177;
    }

    /**
     * @param qv177 the qv177 to set
     */
    public void setQv177(String qv177) {
        this.qv177 = qv177;
    }

    /**
     * @return the qv178
     */
    public String getQv178() {
        return qv178;
    }

    /**
     * @param qv178 the qv178 to set
     */
    public void setQv178(String qv178) {
        this.qv178 = qv178;
    }

    /**
     * @return the allow
     */
    public boolean isAllow() {

        return getQn176()==1;
    }

    /**
     * @param allow the allow to set
     */
    public void setAllow(boolean allow) {
        if(allow){
            setQn176(1);
        }else{
            setQn176(0);
        }
        this.allow = allow;
    }

    /**
     * @return the qv179
     */
    public String getQv179() {
        return qv179;
    }

    /**
     * @param qv179 the qv179 to set
     */
    public void setQv179(String qv179) {
        this.qv179 = qv179;
    }

   

}
